package com.Nuyoah.demo01.DTO;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
//@TableName("users")
public class UserDTO {
    private String username;
    @TableField("user_id")
    private Integer userId;
    private String email;
    private int status;
    @TableField("created_at")
    private LocalDateTime createdAt;
    @TableField("update_at")
    private LocalDateTime updateAt;
}
